package com.cjm.one.common.constant;

public class SecurityConstants {
    /**
     * 用户ID字段
     */
    public static final String DETAILS_USER_ID = "userId";

    /**
     * 用户名字段
     */
    public static final String DETAILS_USERNAME = "userName";

    /**
     * 授权信息字段
     */
    public static final String AUTHORIZATION_HEADER = "authorization";

    /**
     * 请求来源
     */
    public static final String FROM_SOURCE = "fromSource";

    /**
     * 内部请求
     */
    public static final String INNER = "inner";

    /**
     * 用户标识
     */
    public static final String USER_KEY = "userKey";

    /**
     * 登录用户
     */
    public static final String LOGIN_USER = "loginUser";

    /**
     * 角色权限
     */
    public static final String ROLE_PERMISSION = "rolePermission";
}
